package com.ysjy.course.mapper;

import com.wkbb.common.base.BaseMapper;
import com.wkbb.common.dto.basic.StudentInfoDto;
import com.ysjy.course.dto.SignUpUserDto;
import com.ysjy.course.model.ClassChangeApply;
import com.ysjy.course.model.MoneyStatistical;
import com.ysjy.course.model.SignUpUser;
import com.ysjy.course.model.YsOrder;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface SignUpUserMapper extends BaseMapper<SignUpUser> {

    List<Long> getStudentList(@Param("goodNumber") String goodNumber);

    SignUpUser getByOrderNumber(@Param("orderNumber") String orderNumber);

    void applyRefund(YsOrder data);

    List<SignUpUserDto> getCourseClassStudentList(Map<String, Object> params);

    MoneyStatistical getSignUpStatistical(Map<String, Object> params);

    int updateRefundStatus(SignUpUser signUpUser);
}
